package org.example.springboot01.service;


import org.example.springboot01.pojo.Category;

import java.util.List;

public interface Categoryservice {


    void addcategory(Category categoryname);


    List<Category> getcategory();

    List<Category> getcategorybyid(Integer id);

    void updatecategory(Category category);

    void deletecategory(String name);
}
